package com.wjpeng.wms.service;

import com.wjpeng.wms.domain.Role;
import com.wjpeng.wms.query.QueryObject;
import com.wjpeng.wms.util.PageResult;

import java.util.List;

public interface IRoleService {
    void saveOrUpdate(Role d, Long[] ids, Long[] permissionIds);

    void delete(Long id);

    Role get(Long id);

    List<Role> list();

    PageResult result(QueryObject qo);
}
